package com.atguigu.team.domain;

import com.atguigu.team.service.Status;

/**
 * @author zhouzhou
 * @version 1.0
 * @description: TODO
 * @date 2025/2/15 21:51
 */

public class Architect extends Designer{
    private double stock;//公司奖励的股票数量.




    public double getStock() {
        return stock;
    }

    public void setStock(double stock) {
        this.stock = stock;
    }

    public Architect() {
    }

    public Architect(int id, String name, int age, double salary, Equipment equipment, double bonus, double stock) {
        super(id, name, age, salary, equipment, bonus);
        this.stock = stock;
    }

    public String toString() {
        return getDetails() +"\t架构师"+ "\t" + getStatus() +"\t"+getBonus()+"\t"+getStock()+ "\t\t" + getEquipment().getDescription();
    }
    @Override
    public String getDetailsForTeam() {
        return getBasicDetailsForTeam()+"设计师"+"\t"+getBonus()+"\t"+getStock();
    }
}
